﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Direct.EntityStore;

namespace Direct.Security.Model
{
    public class AuthKeyStatEntity : StoreEntity
    {
        [PersistentMember]
        public String ObjId { get; set; }

        [PersistentMember(2048)]
        public String AuthKey { get; set; }

        [PersistentMember]
        public int StIdx { get; set; }

        public AuthorizationStatus Status
        {
            get { return (AuthorizationStatus)StIdx; }
            set { StIdx = (int)value; }
        }
    }
}
